import { RouteMeta, RouteRecordName } from 'vue-router';
import { eMenuType } from './enum';
export interface iRouteMeta extends RouteMeta {
    menu_show: boolean;
    parentPath: string;
    sort: number;
    hover?: string;
    normal?: string;
    menu_type: eMenuType;
    title: string;
    elements?: iRouteMetaElements[];
    auth?: 'public' | 'private'
}
export interface iRouteInfo {
    name: RouteRecordName;
    path: string;
    //   menu_show: boolean;
    meta: iRouteMeta;
    //   children?: iRouteInfo[];
}

export interface iRouteMetaElements {
    key: string;
    title: string;
    local_path: string;
    menu_type: eMenuType;
}
